Scrivere un metodo, detto minimoInArray, che, dato in input un vettore di interi, ritorna il valore dell'elemento minimo.